package com.xbongbong.pro.form.pojo.vo;

import com.xbongbong.paas.pojo.BusinessRulesPoJo;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/29 16:35
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormBusinessRuleVO extends BaseVO {

    private static final long serialVersionUID = -8917099788903765784L;

    private List<BusinessRulesPoJo> businessRule;

    /**
     * 超过限制后的提示
     */
    private String message;

    /**
     * 超过的数量=已使用的数量-全部数量
     */
    private Integer excess;

    /**
     * 1：可升级
     */
    private Integer upgrade;

    private Boolean formulaLimit;

    public FormBusinessRuleVO() {
        formulaLimit = false;
    }
}
